import BaseModule from '../BaseModule';
import componentCol from './index';

export default class Module extends BaseModule {


    constructor(opts: any) {
        super(opts);
        this.componentClazzes = componentCol;
    }
    /**
     * 创建组件
     * @param opts {Object}
     */
    public createComponents(opts: any) {
        const components: any = componentCol;
        // 示例
        const GISToolComponent = new components.GISToolComponent({
            map: this.options.map,
        });
        this.components.GISToolComponent = GISToolComponent;
    }
}
